<?php

/*

Plugin Name:  SCRW RSS Thumbnails

Plugin URI: http://pauloflaherty.com

Description: Control the output of thubmails in the RSS feed

Version: 0.1

Author: Paul O'Flaherty

Author URI: http://pauloflaherty.com

*/

function rss_post_thumbnail($content) {
global $post;
if (in_category('cute-videos') && has_post_thumbnail($post->ID)) {	
$content = '<p><a href="'. get_permalink($post->ID) .'" title="Click to see the video">' . get_the_post_thumbnail($post->ID) .
'</a></p>' . get_the_content();
}
return $content;
}
add_filter('the_content_feed', 'rss_post_thumbnail');
?>